<html>
<head><meta charset="utf-8"><title>ignore .rs files · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ignore.20.2Ers.20files.html">ignore .rs files</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208320909"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ignore%20.rs%20files/near/208320909" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Coenen Benjamin <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ignore.20.2Ers.20files.html#208320909">(Aug 28 2020 at 09:15)</a>:</h4>
<p>Hello, maybe it's a dumb question or recently asked one but I don't find how to ignore files to be analyzed but ra even if it's a <code>.rs</code> ?</p>



<a name="208330351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ignore%20.rs%20files/near/208330351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ignore.20.2Ers.20files.html#208330351">(Aug 28 2020 at 11:22)</a>:</h4>
<p>I don't think there's a bullet-proof way to do this today</p>



<a name="208330369"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ignore%20.rs%20files/near/208330369" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ignore.20.2Ers.20files.html#208330369">(Aug 28 2020 at 11:23)</a>:</h4>
<p>There's some internal mechanisms for that, but they are no longer exposed to the end user</p>



<a name="208330377"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/ignore%20.rs%20files/near/208330377" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/ignore.20.2Ers.20files.html#208330377">(Aug 28 2020 at 11:23)</a>:</h4>
<p><code>files.exclude</code> in VS Code might work somewhat</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>